package com.deyuanyun.pic.pipe.mapper.dao;

import com.deyuanyun.pic.pipe.controller.dto.PipeBaseQuery;
import com.deyuanyun.pic.pipe.domain.Gww;
import com.deyuanyun.pic.pipe.domain.GwwDetection;
import com.deyuanyun.pic.pipe.domain.bo.GwwMergeBO;
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.List;

public interface GwwDao {

	/**
	 * 根据条件合并查询 环焊缝
	 * @param pipeBaseQuery
	 * @return
     */
	Page<GwwMergeBO> queryGwwMerge(PipeBaseQuery pipeBaseQuery);

	/**
	 * 根据条件合并查询 环焊缝
	 * @param pipeBaseQuery
	 * @return
	 */
	List<Gww> queryGww(PipeBaseQuery pipeBaseQuery);

	/**
	 * 根据条件合并查询 无损检测焊缝
	 *
	 * @param pipeBaseQuery
	 * @return
	 */
	List<GwwDetection> queryGwwDetection(PipeBaseQuery pipeBaseQuery);

	/**
	 * 根据id查询  环焊缝
	 *
	 * @param id
	 * @return
	 */
	Gww findGww(@Param("id") String id);

	/**
	 * 根据id查询 环焊缝无损检测信息
	 *
	 * @param id
	 * @return
	 */
	List<GwwDetection> findGwwDetection(@Param("id") String id);
    
}